package com.td.module.system.controller.admin.growth.vo.data;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* 生长周期 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class GrowthModuleDataBaseVO {

    @ApiModelProperty(value = "数据排序", required = true)
    @NotNull(message = "数据排序不能为空")
    private Integer sort;

    @ApiModelProperty(value = "名称", required = true, example = "JinRui")
    @NotNull(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "生长时间", required = true)
    @NotNull(message = "生长时间不能为空")
    private String times;

    @ApiModelProperty(value = "模型归属", required = true)
    @NotNull(message = "模型归属不能为空")
    private String moduleAttribution;

    @ApiModelProperty(value = "模型类型", required = true, example = "1")
    @NotNull(message = "模型类型不能为空")
    private String growthType;

    @ApiModelProperty(value = "状态（0正常 1停用）", required = true, example = "1")
    @NotNull(message = "状态（0正常 1停用）不能为空")
    private Byte status;

    @ApiModelProperty(value = "备注", example = "随便")
    private String remark;

}
